Skip to main content

Reply to this post | Go Back
View Post [edit]

Poster: Summus Aristoteles Date: Jun 30, 2011 6:34am
Forum: opensource Subject: pdf container for jp2 images

I hope to be not off-topic

I seen that Archive.org is able to pick a set of jp2 images and insert in a pdf avoiding to make an huge file

I tried myself to do this, but result was unsuccessful

the problem is that when I convert any single jp2 image to pdf (using graphicsmagick and then pdftk to join in a single multipage pdf)

for f in *.jp2: do gm convert $f $f.pdf;done && pdftk *.pdf cat output out.pdf

any image dramatically increases its size

how can, Archive.org, produce from jp2 images, pdf files often smaller than original jp2 source files?

feel free to delete if off-topic

This post was modified by Summus Aristoteles on 2011-06-30 13:34:37

Reply to this post
Reply [edit]

Poster: Jeff Kaplan Date: Jun 30, 2011 10:38am
Forum: opensource Subject: Re: pdf container for jp2 images

there's no need for you to convert to pdf. just upload the pdfs in a zip file that ends with _images.zip

number the files in a sequential manner if the order in the derived formats is important.

our system will derive a pdf and other fomats from that image stack.

Reply to this post
Reply [edit]

Poster: Summus Aristoteles Date: Jun 30, 2011 10:50am
Forum: opensource Subject: Re: pdf container for jp2 images

yes. it is what usually I do. I was only asking how archive.org is able to produce so small pdfs from jp2 images while I'm not able to produce pdfs as small as Archive.org does

I read, in pdf metadata formed by jp2 images I provided:

*Recoded by LuraDocument PDF v2.28*

I have been fascinated of this ability of archive.org derivation process that ends making so well compressed pdfs, while trying to insert jp2 images in a multipage pdf, I get an huge file

Reply to this post
Reply [edit]

Poster: Jeff Kaplan Date: Jun 30, 2011 12:22pm
Forum: opensource Subject: Re: pdf container for jp2 images

ah, it's all about the compression preferences. i'm not able to give you that actual settings at this point.

Reply to this post
Reply [edit]

Poster: Summus Aristoteles Date: Jun 30, 2011 12:36pm
Forum: opensource Subject: Re: pdf container for jp2 images

thanks anyway Jeff, You work very well and intensely for us at Archive.org. I was asking for compression used by Archive.org for jp2 images in a pdf container, in order to use same software of procedure for my private documents not candidate for upload on Archive.org, since I was absolutely fascinated from compression ratio

I'll try to discover by myself ;-)